By calling the Get method to retrieve all TEntity entities order defined by TOrderingCriteria and then picking the first of them, this inversion control
method handles the request to obtain the first entity from the underlying data store.
Namespace:
Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)
Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> Members
Keystone.Carbonite Namespace
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)
Parameters
- orderingCriteria
-
Type: TOrderingCriteria
The ordering criteria.
Return Value
The first TEntity in compliance with the TFilteringCriteria, obtained from the underlying data store, or null reference (Nothing in Visual Basic) if none exists.Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
.NET Framework
Supported in: 4.6Others
Xamarin, MonoReference
Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> ClassDao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters> Members
Keystone.Carbonite Namespace